package com.kye.express.business.waybill.waybill_detail;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @author : Joe
 * @version : 1.0
 * @editor : Joe
 * @created : 26/01/2018
 * @updated : 26/01/2018
 * @description : <Description>
 * @update_reason : <UpdateReason>
 */

public class SendArrivedTimeModel implements Parcelable {

    private String messageShow; // 12:00-15:00
    private String startTime; // 17:00:47
    private String endTime; // 17:00:47

    public String getMessageShow() {
        return messageShow;
    }

    public void setMessageShow(String messageShow) {
        this.messageShow = messageShow;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(this.messageShow);
        dest.writeString(this.startTime);
        dest.writeString(this.endTime);
    }

    public SendArrivedTimeModel() {
    }

    protected SendArrivedTimeModel(Parcel in) {
        this.messageShow = in.readString();
        this.startTime = in.readString();
        this.endTime = in.readString();
    }

    public static final Parcelable.Creator<SendArrivedTimeModel> CREATOR = new Parcelable.Creator<SendArrivedTimeModel>() {
        @Override
        public SendArrivedTimeModel createFromParcel(Parcel source) {
            return new SendArrivedTimeModel(source);
        }

        @Override
        public SendArrivedTimeModel[] newArray(int size) {
            return new SendArrivedTimeModel[size];
        }
    };
}
